package com.app.Activity;

import it.unipr.ce.dsg.s2p.sip.Address;

import com.app.Controller.NetworkController;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import app.com.ModuleRole.R;

public class HelloForm2 extends Activity {

	Button btnFRM2;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.form2);
	btnFRM2=(Button)findViewById(R.id.btnHellofrm2);
	btnFRM2.setOnClickListener(new View.OnClickListener() {
		
		@Override
		public void onClick(View v) {
			// TODO Auto-generated method stub
			NetworkController.ShowMessageNotice("sended hello");
			NetworkController.SendHelloDLG(new Address("TRUC@192.168.1.88:8080"));
		}
	});
		
	}
	
	
}
